Part Number Hot Search : 
5SMC75A 21UHR ICS85301 SMS6GE5 BTS412B PM8312 65C10 MP6KE22A
Product Description
Full Text Search
 

To Download MCP3204-BISL Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ? 1999 microchip technology inc. preliminary ds21298b-page 1 mcp3204/3208 features ? 12-bit resolution ? 1 lsb max dnl ? 1 lsb max inl (mcp3204/3208-b) ? 2 lsb max inl (mcp3204/3208-c) ? 4 (mcp3204) or 8 (mcp3208) input channels ? analog inputs programmable as single-ended or pseudo differential pairs ? on-chip sample and hold ? spi ? serial interface (modes 0,0 and 1,1) ? single supply operation: 2.7v - 5.5v ? 100ksps max. sampling rate at v dd = 5v ? 50ksps max. sampling rate at v dd = 2.7v ? low power cmos technology - 500 na typical standby current, 2a max. - 400 a max. active current at 5v ? industrial temp range: -40c to +85c ? available in pdip, soic and tssop packages applications ? sensor interface ? process control ? data acquisition ? battery operated systems description the microchip technology inc. mcp3204/3208 devices are successive approximation 12-bit ana- log-to-digital (a/d) converters with on-board sample and hold circuitry. the mcp3204 is programm able to provide two pseudo-differential input pairs or four sin- gle-ended inputs. the mcp3208 is programmable to provide four pseudo-differential input pairs or eight sin- gle-ended inputs. differential nonlinearity (dnl) is specified at 1 lsb, and integral nonlinearity (inl) is offered in 1 lsb (mcp3204/3208-b) and 2 lsb (mcp3204/3208-c) versions. communication with the devices is done using a simple serial interface compat- ible with the spi protocol. the devices are capable of conversion rates of up to 100ksps. the mcp3204/3208 devices operate over a broad voltage range (2.7v - 5.5v). low current design permits operation with typi- cal standby and active currents of only 500na and 320a, respectively. the mcp3204 is offered in 14-pin pdip, 150mil soic and tssop packages, and the mcp3208 is offered in 16-pin pdip and soic pack- ages. package types functional block diagram v dd clk d out mcp3204 1 2 3 4 14 13 12 11 10 9 8 5 6 7 v ref d in ch0 ch1 ch2 ch3 cs /shdn dgnd agnd nc v dd clk d out mcp3208 1 2 3 4 16 15 14 13 12 11 10 9 5 6 7 8 v ref d in cs /shdn dgnd ch0 ch1 ch2 ch3 ch4 ch5 ch6 ch7 nc agnd pdip, soic, tssop pdip, soic comparator sample and hold 12-bit sar dac control logic cs /shdn v ref v ss v dd clk d out shift register ch0 channel mux input ch1 ch7* *note: channels 5-7 available on mcp3208 only d in 2.7v 4-channel/8-channel 12-bit a/d converters with spi ? serial interface
mcp3204/3208 ds21298b-page 2 preliminary ? 1999 microchip technology inc. 1.0 electrical characteristics 1.1 maximum ratings* v dd .........................................................................7.0v all inputs and outputs w.r.t. v ss ...... -0.6v to v dd +0.6v storage temperature .......................... -65c to +150c ambient temp. with power applied......-65c to +125c soldering temperature of leads (10 seconds) .. +300c esd protection on all pins ...................................> 4kv *notice: stresses above those listed under maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operational listings of this specification is not implied. exposure to maximum rating conditions for extended peri- ods may affect device reliability. pin function table name function v dd dgnd agnd ch0-ch7 clk d in d out cs /shdn v ref +2.7v to 5.5v power supply digital ground analog ground analog inputs serial clock serial data in serial data out chip select/shutdown input reference voltage input electrical characteristics all parameters apply at v dd = 5v, v ss = 0v, v ref = 5v, t amb = -40c to +85c, f sample = 100ksps and f clk = 20*f sample , unless otherwise noted. parameter symbol min. typ. max. units conditions conversion rate conversion time t conv 12 clock cycles analog input sample time t s ample 1.5 clock cycles throughput rate f sample 100 50 ksps ksps v dd = v ref = 5v v dd = v ref = 2.7v dc accuracy resolution 12 bits integral nonlinearity inl 0.75 1 1 2 lsb mcp3204/3208-b mcp3204/3208-c differential nonlinearity dnl 0.5 1 lsb no missing codes over temperature offset error 1.25 3 lsb gain error 1.25 5 lsb dynamic performance total harmonic distortion -82 db v in = 0.1v to 4.9v@1khz signal to noise and distortion (sinad) 72 db v in = 0.1v to 4.9v@1khz spurious free dynamic range 86 db v in = 0.1v to 4.9v@1khz reference input voltage range 0.25 v dd vnote2 current drain 100 0.001 150 3 a a cs = v dd = 5v analog inputs input voltage range for ch0-ch7 in single-ended mode v ss v ref v input voltage range for in+ in pseudo-differential mode in- v ref +in- input voltage range for in- in pseudo-differential mode v ss -100 v ss +100 mv leakage current 0.001 1 a
? 1999 microchip technology inc. preliminary ds21298b-page 3 mcp3204/3208 analog inputs (continued) switch resistance 1k w see figure 4-1 sample capacitor 20 pf see figure 4-1 digital input/output data coding format straight binary high level input voltage v ih 0.7 v dd v low level input voltage v il 0.3 v dd v high level output voltage v oh 4.1 v i oh = -1ma, v dd = 4.5v low level output voltage v ol 0.4 v i ol = 1ma, v dd = 4.5v input leakage current i li -10 10 a v in = v ss or v dd output leakage current i lo -10 10 a v out = v ss or v dd pin capacitance (all inputs/outputs) c in , c out 10 pf v dd = 5.0v (note 1) t amb = 25c, f = 1 mhz timing parameters clock frequency f clk 2.0 1.0 mhz mhz v dd = 5v (note 3) v dd = 2.7v (note 3) clock high time t hi 250 ns clock low time t lo 250 ns cs fall to first rising clk edge t sucs 100 ns data input setup time t su 50 ns data input hold time t hd 50 ns clk fall to output data valid t do 200 ns see test circuits, figure 1-2 clk fall to output enable t en 200 ns see test circuits, figure 1-2 cs rise to output disable t dis 100 ns see test circuits, figure 1-2 cs disable time t csh 500 ns d out rise time t r 100 ns see test circuits, figure 1-2 (note 1) d out fall time t f 100 ns see test circuits, figure 1-2 (note 1) power requirements operating voltage v dd 2.7 5.5 v operating current i dd 320 225 400 a v dd = v ref = 5v, d out unloaded v dd = v ref = 2.7v, d out unloaded standby current i dds 0.5 2 a cs = v dd = 5.0v note 1: this parameter is guaranteed by characterization and not 100% tested. note 2: see graphs that relate linearity performance to v ref levels. note 3: because the sample cap will eventually lose charge, effective clock rates below 10khz can affect linearity performance, especially at elevated temperatures. see section 6.2 for more information. electrical characteristics (continued) all parameters apply at v dd = 5v, v ss = 0v, v ref = 5v, t amb = -40c to +85c, f sample = 100ksps and f clk = 20*f sample , unless otherwise noted. parameter symbol min. typ. max. units conditions
mcp3204/3208 ds21298b-page 4 preliminary ? 1999 microchip technology inc. figure 1-1: serial interface timing. figure 1-2: test circuits. cs clk d in msb in t su t hd t sucs t csh t hi t lo d out t en t do t r t f lsb msb out t dis null bit 90% 10% * waveform 1 is for an output with internal condi- tions such that the output is high, unless dis- abled by the output control. ? waveform 2 is for an output with internal condi- tions such that the output is low, unless disabled by the output control. test point 1.4v d out load circuit for t r , t f , t do 3k c l = 100pf test point d out load circuit for t dis and t en 3k 100pf t dis waveform 2 t dis waveform 1 cs clk d out t en 12 b11 voltage waveforms for t en t en waveform v dd v dd /2 v ss 3 4 d out t r voltage waveforms for t r , t f clk d out t do voltage waveforms for t do t f v oh v ol voltage waveforms for t dis d out d out cs v ih t dis waveform 1* waveform 2?
? 1999 microchip technology inc. preliminary ds21298b-page 5 mcp3204/3208 2.0 typical performance characteristics note: unless otherwise indicated, v dd = v ref = 5v, v ss = 0v, f sample = 100ksps, f clk = 20* f sample ,t a = 25c figure 2-1: integral nonlinearity (inl) vs. sample rate. figure 2-2: integral nonlinearity (inl) vs. v ref . figure 2-3: integral nonlinearity (inl) vs. code (representative part). figure 2-4: integral nonlinearity (inl) vs. sample rate (v dd = 2.7v). figure 2-5: integral nonlinearity (inl) vs. v ref (v dd = 2.7v). figure 2-6: integral nonlinearity (inl) vs. code (representative part, v dd = 2.7v). -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 0 25 50 75 100 125 150 sample rate (ksps) inl (lsb) positive inl negative inl -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 2.5 3.0 0123456 v ref (v) inl(lsb) positive inl negative inl -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 0 512 1024 1536 2048 2560 3072 3584 4096 digital code inl (lsb) -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 0 1020304050607080 sample rate (ksps) inl (lsb) positive inl negative inl v dd = v ref = 2.7v -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 0.0 0.5 1.0 1.5 2.0 2.5 3.0 v ref (v) inl(lsb) positive inl negative inl -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 0 512 1024 1536 2048 2560 3072 3584 4096 digital code inl (lsb) v dd = v ref = 2.7v f sample = 50ksps
mcp3204/3208 ds21298b-page 6 preliminary ? 1999 microchip technology inc. note: unless otherwise indicated, v dd = v ref = 5v, v ss = 0v, f sample = 100ksps, f clk = 20* f sample ,t a = 25c figure 2-7: integral nonlinearity (inl) vs. temperature. figure 2-8: differential nonlinearity (dnl) vs. sample rate. figure 2-9: differential nonlinearity (dnl) vs. v ref . figure 2-10: integral nonlinearity (inl) vs. temperature (v dd = 2.7v). figure 2-11: differential nonlinearity (dnl) vs. sample rate (v dd = 2.7v). figure 2-12: differential nonlinearity (dnl) vs. v ref (v dd = 2.7v) . -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 -50 -25 0 25 50 75 100 temperature (c) inl (lsb) positive inl negative inl -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 0 25 50 75 100 125 150 sample rate (ksps) dnl (lsb) positive dnl negative dnl -3.0 -2.0 -1.0 0.0 1.0 2.0 3.0 012345 v ref (v) dnl (lsb) positive dnl negative dnl -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 -50 -25 0 25 50 75 100 temperature (c) inl (lsb) positive inl v dd = v ref = 2.7v f sample = 50ksps negative inl -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 0 10203040506070 sample rate (ksps) dnl (lsb) positive dnl negative dnl v dd = v ref = 2.7v -3.0 -2.0 -1.0 0.0 1.0 2.0 3.0 0.00.51.01.52.02.53.0 v ref (v) dnl (lsb) positive dnl negative dnl v dd = v ref = 2.7v f sample = 50ksps
? 1999 microchip technology inc. preliminary ds21298b-page 7 mcp3204/3208 note: unless otherwise indicated, v dd = v ref = 5v, v ss = 0v, f sample = 100ksps, f clk = 20* f sample ,t a = 25c figure 2-13: differential nonlinearity (dnl) vs. code (representative part). figure 2-14: differential nonlinearity (dnl) vs. temperature. figure 2-15: gain error vs. v ref . figure 2-16: differential nonlinearity (dnl) vs. code (representative part, v dd = 2.7v). figure 2-17: differential nonlinearity (dnl) vs. temperature (v dd = 2.7v). figure 2-18: offset error vs. v ref . -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 0 512 1024 1536 2048 2560 3072 3584 4096 digital code dnl (lsb) -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 -50 -25 0 25 50 75 100 temperature (c) dnl (lsb) positive dnl negative dnl -4 -3 -2 -1 0 1 2 3 4 012345 v ref (v) gain error (lsb ) v dd = 2.7v f sample = 50ksps v dd = 5v f sample = 100ksps -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 0 512 1024 1536 2048 2560 3072 3584 4096 digital code dnl (lsb) v dd = v ref = 2.7v f sample = 50ksps -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 0.4 0.6 0.8 1.0 -50 -25 0 25 50 75 100 temperature (c) dnl (lsb) positive dnl v dd = v ref = 2.7v f sample = 50ksps negative dnl 0 2 4 6 8 10 12 14 16 18 20 012345 v ref (v) offset error (lsb ) v dd = 5v f sample = 100ksps v dd = 2.7v f sample = 50ksps
mcp3204/3208 ds21298b-page 8 preliminary ? 1999 microchip technology inc. note: unless otherwise indicated, v dd = v ref = 5v, v ss = 0v, f sample = 100ksps, f clk = 20* f sample ,t a = 25c figure 2-19: gain error vs. temperature. figure 2-20: signal to noise (snr) vs. input frequency. figure 2-21: total harmonic distortion (thd) vs. input frequency. figure 2-22: offset error vs. temperature. figure 2-23: signal to noise and distortion (sinad) vs. input frequency. figure 2-24: signal to noise and distortion (sinad) vs. input signal level. -1.8 -1.6 -1.4 -1.2 -1.0 -0.8 -0.6 -0.4 -0.2 0.0 0.2 -50 -25 0 25 50 75 100 temperature (c) gain error (lsb ) v dd = v ref = 5v f sample = 100ksps v dd = v ref = 2.7v f sample = 50ksps 0 10 20 30 40 50 60 70 80 90 100 1 10 100 input frequency (khz) snr (db) v dd = v ref = 2.7v f sample = 50ksps v dd = v ref = 5v f sample = 100ksps -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 110100 input frequency (khz) thd (db) v dd = v ref = 5v f sample = 100ksps v dd = v ref = 2.7v f sample = 50ksps 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 -50 -25 0 25 50 75 100 temperature (c) offset error (lsb ) v dd = v ref = 5v f sample = 100ksps v dd = v ref = 2.7v f sample = 50ksps 0.0 10.0 20.0 30.0 40.0 50.0 60.0 70.0 80.0 90.0 100.0 1 10 100 input frequency (khz) sinad (db ) v dd = v ref = 2.7v f sample = 50ksps v dd = v ref = 5v f sample = 100ksps 0 10 20 30 40 50 60 70 80 -40 -35 -30 -25 -20 -15 -10 -5 0 input signal level (db) sinad (db ) v dd = v ref = 2.7v f sample = 50ksps v dd = v ref = 5v f sample = 100ksps
? 1999 microchip technology inc. preliminary ds21298b-page 9 mcp3204/3208 note: unless otherwise indicated, v dd = v ref = 5v, v ss = 0v, f sample = 100ksps, f clk = 20* f sample ,t a = 25c figure 2-25: effective number of bits (enob) vs. v ref . figure 2-26: spurious free dynamic range (sfdr) vs. input frequency. figure 2-27: frequency spectrum of 10khz input (representative part). figure 2-28: effective number of bits (enob) vs. input frequency. figure 2-29: power supply rejection (psr) vs. ripple frequency. figure 2-30: frequency spectrum of 1khz input (representative part, v dd = 2.7v). 9.00 9.25 9.50 9.75 10.00 10.25 10.50 10.75 11.00 11.25 11.50 11.75 12.00 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 v ref (v) enob (rms) v dd = v ref = 2.7v f sample = 50ksps v dd = v ref = 5v f sample =100ksps 0 10 20 30 40 50 60 70 80 90 100 1 10 100 input frequency (khz) sfdr (db) v dd = v ref = 5v f sample = 100ksps v dd = v ref = 2.7v f sample = 50ksps -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 0 10000 20000 30000 40000 50000 frequency (hz) amplitude (db) v dd = v ref = 5v f sample = 100ksps f input = 9.985khz 4096 points 8.0 8.5 9.0 9.5 10.0 10.5 11.0 11.5 12.0 110100 input frequency (khz) enob (rms) v dd = v ref = 2.7v f sample = 50ksps v dd = v ref = 5v f sample = 100ksps -80 -70 -60 -50 -40 -30 -20 -10 0 1 10 100 1000 10000 ripple frequency (khz) power supply rejection (db ) -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 0 5000 10000 15000 20000 25000 frequency (hz) amplitude (db) v dd = v ref = 2.7v f sample = 50ksps f input = 998.76hz 4096 points
mcp3204/3208 ds21298b-page 10 preliminary ? 1999 microchip technology inc. note: unless otherwise indicated, v dd = v ref = 5v, v ss = 0v, f sample = 100ksps, f clk = 20* f sample ,t a = 25c figure 2-31: i dd vs. v dd . figure 2-32: i dd vs. clock frequency. figure 2-33: i dd vs. temperature. figure 2-34: i ref vs. v dd . figure 2-35: i ref vs. clock frequency. figure 2-36: i ref vs. temperature. 0 50 100 150 200 250 300 350 400 450 500 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 v dd (v) i dd (a) v ref = v dd all points at f clk = 2mhz except at v ref = v dd = 2.5v, f clk = 1mhz 0 50 100 150 200 250 300 350 400 10 100 1000 10000 clock frequency (khz) i dd (a) v dd = v ref = 5v v dd = v ref = 2.7v 0 50 100 150 200 250 300 350 400 -50 -25 0 25 50 75 100 temperature (c) i dd (a) v dd = v ref = 5v f clk = 2mhz v dd = v ref = 2.7v f clk = 1mhz 0 10 20 30 40 50 60 70 80 90 100 2.02.53.03.54.04.55.05.56.0 v dd (v) i ref (a) v ref = v dd all points at f clk = 2mhz except at v ref = v dd = 2.5v, f clk = 1mhz 0 10 20 30 40 50 60 70 80 90 100 10 100 1000 10000 clock frequency (khz) i ref (a) v dd = v ref = 5v v dd = v ref = 2.7v 0 10 20 30 40 50 60 70 80 90 100 -50 -25 0 25 50 75 100 temperature (c) i ref (a) v dd = v ref = 5v f clk = 2mhz v dd = v ref = 2.7v f clk = 1mhz
? 1999 microchip technology inc. preliminary ds21298b-page 11 mcp3204/3208 note: unless otherwise indicated, v dd = v ref = 5v, v ss = 0v, f sample = 100ksps, f clk = 20* f sample ,t a = 25c figure 2-37: i dds vs. v dd . figure 2-38: i dds vs. temperature. figure 2-39: analog input leakage current vs. temperature. 0 10 20 30 40 50 60 70 80 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 v dd (v) i dds (pa) v ref = cs = v dd 0.01 0.10 1.00 10.00 100.00 -50 -25 0 25 50 75 100 temperature (c) i dds (na) v dd = v ref = cs = 5v 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 2.0 -50 -25 0 25 50 75 100 temperature (c) analog input leakage (na) v dd = v ref = 5v f clk = 2mhz
mcp3204/3208 ds21298b-page 12 preliminary ? 1999 microchip technology inc. 3.0 pin descriptions 3.1 ch0 - ch7 analog inputs for channels 0 - 7 respectively for the multiplexed inputs. each pair of channels can be pro- grammed to be used as two independent channels in single ended-mode or as a single pseudo-differential input where one channel is in+ and one channel is in-. see section 4.1 and section 5.0 for information on pro- gramming the channel configuration. 3.2 cs /shdn( chip select /shutdown) the cs /shdn pin is used to initiate communication with the device when pulled low and will end a conver- sion and put the device in low power standby when pulled high. the cs /shdn pin must be pulled high between conversions. 3.3 clk (serial clock) the spi clock pin is used to initiate a conversion and to clock out each bit of the conversion as it takes place. see section 6.2 for constraints on clock speed. 3.4 d in (serial data input) the spi port serial data input pin is used to load chan- nel configuration data into the device. 3.5 d out (serial data output) the spi serial data output pin is used to shift out the results of the a/d conversion. data will always change on the falling edge of each clock as the conversion takes place. 3.6 agnd analog ground connection to internal analog circuitry. 3.7 dgnd digital ground connection to internal digital circuitry. 4.0 device operation the mcp3204/3208 a/d converters employ a conven- tional sar architecture. with this architecture, a sam- ple is acquired on an internal sample/hold capacitor for 1.5 clock cycles starting on the fourth rising edge of the serial clock after the start bit has been received. follow- ing this sample time, the device uses the collected charge on the internal sample and hold capacitor to produce a serial 12-bit digital output code. conversion rates of 100ksps are possible on the mcp3204/3208. see section 6.2 for information on minimum clock rates. communication with the device is done using a 4-wire spi-compatible interface. 4.1 analog inputs the mcp3204/3208 devices offer the choice of using the analog input channels configured as single-ended inputs or pseudo-differential pairs. the mcp3204 can be configured to provide two pseudo-differential input pairs or four single-ended inputs. the mcp3208 can be configured to provide four pseudo-differential input pairs or eight single-ended inputs. configuration is done as part of the serial command before each con- version begins. when used in the pseudo-differential mode, each channel pair (i.e., ch0 and ch1, ch2 and ch3 etc.) are programmed as the in+ and in- inputs as part of the command string transmitted to the device. the in+ input can range from in- to (v ref + in-). the in- input is limited to 100mv from the v ss rail. the in- input can be used to cancel small signal com- mon-mode noise which is present on both the in+ and in- inputs. when operating in the pseudo-differential mode, if the voltage level of in+ is equal to or less than in-, the resultant code will be 000h. if the voltage at in+ is equal to or greater than {[v ref + (in-)] - 1 lsb}, then the out- put code will be fffh. if the voltage level at in- is more than 1 lsb below v ss , then the voltage level at the in+ input will have to go below v ss to see the 000h output code. conversely, if in- is more than 1 lsb above v ss , then the fffh code will not be seen unless the in+ input level goes above v ref level. for the a/d converter to meet specification, the charge holding capacitor, (c sample ) must be given enough time to acquire a 12-bit accurate voltage level during the 1.5 clock cycle sampling period. the analog input model is shown in figure 4-1. in this diagram it is shown that the source impedance (r s ) adds to the internal sampling switch (r ss ) imped- ance, directly affecting the time that is required to charge the capacitor, c sample . consequently, larger source impedances increase the offset, gain, and inte- gral linearity errors of the conversion. see figure 4-2. 4.2 r eference input for each device in the family, the reference input (v ref ) determines the analog input voltage range. as the ref- erence input is reduced, the lsb size is reduced accordingly. the theoretical digital output code pro- duced by the a/d converter is a function of the analog input signal and the reference input as shown below. where: v in = analog input voltage v ref = reference voltage when using an external voltage reference device, the system designer should always refer to the manufac- turers recommendations for circuit layout. any instabil- ity in the operation of the reference device will have a direct effect on the operation of the a/d converter. digital output code = 4096 * v in v ref
? 1999 microchip technology inc. preliminary ds21298b-page 13 mcp3204/3208 figure 4-1: analog input model figure 4-2: maximum clock frequency vs. input resistance (r s ) to maintain less than a 0.1lsb deviation in inl from nominal conditions. c pin va r s chx 7pf v t = 0.6v v t = 0.6v i leakage sampling switch ss r ss = 1k w c sample = dac capacitance v ss v dd = 20 pf 1 na = signal source = source impedance = input channel pad = input capacitance = threshold voltage = leakage current at the pin due to various junctions = sampling switch = sampling switch resistor = sample/hold capacitance va r s chx c pin v t i leakage ss r ss c sample legend 0.0 0.5 1.0 1.5 2.0 2.5 100 1000 10000 input resistance (ohms) clock frequency (mhz ) v dd = 5v v dd = 2.7v
mcp3204/3208 ds21298b-page 14 preliminary ? 1999 microchip technology inc. 5.0 serial communications communication with the mcp3204/3208 devices is done using a standard spi-compatible serial interface. initiating communication with either device is done by bringing the cs line low. see figure 5-1. if the device was powered up with the cs pin low, it must be brought high and back low to initiate communication. the first clock received with cs low and d in high will constitute a start bit. the sgl/diff bit follows the start bit and will determine if the conversion will be done using single ended or differential input mode. the next three bits (d0, d1 and d2) are used to select the input channel configuration. table 5-1 and table 5-2 show the config- uration bits for the mcp3204 and mcp3208, respec- tively. the device will begin to sample the analog input on the fourth rising edge of the clock after the start bit has been received. the sample period will end on the falling edge of the fifth clock following the start bit. after the d0 bit is input, one more clock is required to complete the sample and hold period (d in is a dont care for this clock). on the falling edge of the next clock, the device will output a low null bit. the next 12 clocks will output the result of the conversion with msb first as shown in figure 5-1. data is always output from the device on the falling edge of the clock. if all 12 data bits have been transmitted and the device continues to receive clocks while the cs is held low, the device will output the conversion result lsb first as shown in figure 5-2. if more clocks are provided to the device while cs is still low (after the lsb first data has been transmitted), the device will clock out zeros indefinitely. if necessary, it is possible to bring cs low and clock in leading zeros on the d in line before the start bit. this is often done when dealing with microcontroller-based spi ports that must send 8 bits at a time. refer to section 6.1 for more details on using the mcp3204/3208 devices with hardware spi ports. control bit selections input configuration channel selection single/ diff d2* d1 d0 1 x 0 0 single ended ch0 1 x 0 1 single ended ch1 1 x 1 0 single ended ch2 1 x 1 1 single ended ch3 0 x 0 0 differential ch0 = in+ ch1 = in- 0 x 0 1 differential ch0 = in- ch1 = in+ 0 x 1 0 differential ch2 = in+ ch3 = in- 0 x 1 1 differential ch2 = in- ch3 = in+ *d2 is dont care for mcp3204 table 5-1: configuration bits for the mcp3204. control bit selections input configuration channel selection single/ diff d2 d1 d0 1 0 0 0 single ended ch0 1 0 0 1 single ended ch1 1 0 1 0 single ended ch2 1 0 1 1 single ended ch3 1 1 0 0 single ended ch4 1 1 0 1 single ended ch5 1 1 1 0 single ended ch6 1 1 1 1 single ended ch7 0 0 0 0 differential ch0 = in+ ch1 = in- 0 0 0 1 differential ch0 = in- ch1 = in+ 0 0 1 0 differential ch2 = in+ ch3 = in- 0 0 1 1 differential ch2 = in- ch3 = in+ 0 1 0 0 differential ch4 = in+ ch5 = in- 0 1 0 1 differential ch4 = in- ch5 = in+ 0 1 1 0 differential ch6 = in+ ch7 = in- 0 1 1 1 differential ch6 = in- ch7 = in+ table 5-2: configuration bits for the mcp3208.
? 1999 microchip technology inc. preliminary ds21298b-page 15 mcp3204/3208 figure 5-1: communication with the mcp3204 or mcp3208. figure 5-2: communication with mcp3204 or mcp3208 in lsb first format. cs clk d in d out d1 d2 d0 hi-z dont care null bit b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 * hi-z t sample t conv sgl/ diff start t cyc t csh t cyc d2 sgl/ diff start * after completing the data transfer, if further clocks are applied with cs low, the a/d converter will output lsb first data, then followed with zeros indefinitely. see figure 5-2 below. ** t data : during this time, the bias current and the comparator power down while the reference input becomes a high impedance node, leaving the clk running to clock out the lsb-first data or zeros. t data ** t sucs null bit b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 cs clk d out hi-z hi-z (msb) t conv t data ** power down t sample start sgl/ diff d in t cyc t csh d0 d1 d2 * after completing the data transfer, if further clocks are applied with cs low, the a/d converter will output zeros indefinitely. ** t data : during this time, the bias circuit and the comparator power down while the reference input becomes a high impedance node, leaving the clk running to clock out lsb first data or zeroes. t sucs dont care *
mcp3204/3208 ds21298b-page 16 preliminary ? 1999 microchip technology inc. 6.0 applications information 6.1 using the mcp3204/3208 with microcontroller (mcu) spi ports with most microcontroller spi ports, it is required to send groups of eight bits. it is also required that the microcontroller spi port be configured to clock out data on the falling edge of clock and latch data in on the rising edge. because communication with the mcp3204/3208 devices may not need multiples of eight clo cks, it w ill be necessary to provide more clocks than are required. this is usually done by sending leading zeros before the start bit. as an example, figure 6-1 and figure 6-2 shows how the mcp3204/3208 can be interfaced to a mcu with a hardware spi port. figure 6-1 depicts the operation shown in spi mode 0,0 which requires that the sclk from the mcu idles in the low state, while figure 6-2 shows the similar case of spi mode 1,1 where the clock idles in the high state. as shown in figure 6-1, the first byte transmitted to the a/d converter contains five leading zeros before the start bit. arranging the leading zeros this way produces the output 12 bits to fall in positions easily manipulated by the mcu. the msb is clocked out of the a/d con- verter on the falling edge of clock number 12. after the second eight clocks have been sent to the device, the mcus receive buffer will contain three unknown bits (the output is at high impedance for the first two clocks), the null bit and the highest order four bits of the conver- sion. after the third byte has been sent to the device, the receive register will contain the lowest order eight bits of the conversion results. easier manipulation of the con- verted data can be obtained by using this method. figure 6-2 shows the same thing in spi mode 1,1 which requires that the clock idles in the high state. as with mode 0,0, the a/d converter outputs data on the falling edge of the clock and the mcu latches data from the a/d converter in on the rising edge of the clock. figure 6-1: spi communication using 8-bit segments (mode 0,0: sclk idles low). figure 6-2: spi communication using 8-bit segments (mode 1,1: sclk idles high). 1 2 3 4 5 6 7 8 9 101112131415 16 cs sclk d in x = dont care bits 17 18 19 20 21 22 23 24 d out null bit b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 hi-z mcu latches data from a/d converter data is clocked out of a/d converter on falling edges on rising edges of sclk do dont care sgl/ diff d1 d2 start 00000 1 xx xxx do xxxxx xxx b7 b6 b5 b4 b3 b2 b1 b0 b11 b10 b9 b8 0 ???????? ??? d1 d2 sgl/ diff start bit (null) mcu transmitted data (aligned with falling edge of clock) mcu received data (aligned with rising edge of clock) x data stored into mcu receive register after transmission of first 8 bits data stored into mcu receive register after transmission of second 8 bits data stored into mcu receive register after transmission of last 8 bits 1 2 3 4 5 6 7 8 9 101112131415 16 cs sclk d in x = dont care bits 17 18 19 20 21 22 23 24 d out do dont care null bit b11 b10 b9 b8 b6 b5 b4 b3 b2 b1 b0 hi-z 00000 1 xx xxx do sgl/ diff xxxxx xxx b7 b6 b5 b4 b3 b2 b1 b0 b11 b10 b9 b8 0 ???????? ??? mcu latches data from a/d converter on rising edges of sclk data is clocked out of a/d converter on falling edges d1 d2 sgl/ diff start bit (null) d1 d2 start mcu transmitted data (aligned with falling edge of clock) mcu received data (aligned with rising edge of clock) b7 x data stored into mcu receive register after transmission of first 8 bits data stored into mcu receive register after transmission of second 8 bits data stored into mcu receive register after transmission of last 8 bits
? 1999 microchip technology inc. preliminary ds21298b-page 17 mcp3204/3208 6.2 maintaining minimum clock speed when the mcp3204/3208 initiates the sample period, charge is stored on the sample capacitor. when the sample period is complete, the device converts one bit for each clock that is received. it is important for the user to note that a slow clock rate will allow charge to bleed off the sample capacitor while the conversion is taking place. at 85c (worst case condition), the part will maintain proper charge on the sample capacitor for at least 1.2ms after the sample period has ended. this means that the time between the end of the sample period and the time that all 12 data bits have been clocked out must not exceed 1.2ms (effective clock fre- quency of 10khz). failure to meet this criterion may induce linearity errors into the conversion outside the rated specifications. it should be noted that during the entire conversion cycle, the a/d converter does not require a constant clock speed or duty cycle, as long as all timing specifications are met. 6.3 buffering/filtering the analog inputs if the signal source for the a/d converter is not a low impedance source, it will have to be buffered or inaccu- rate conversion results may occur. see figure 4-2. it is also recommended that a filter be used to eliminate any signals that may be aliased back in to the conversion results. this is illustrated in figure 6-3 where an op amp is used to drive the analog input of the mcp3204/3208. this amplifier provides a low imped- ance source for the converter input and a low pass fil- ter, which eliminates unwanted high frequency noise. low pass (anti-aliasing) filters can be designed using microchips free interactive filterlab ? software. fil- terlab will calculate capacitor and resistors values, as well as determine the number of poles that are required for the application. for more information on filtering sig- nals, see the application note an699 anti-aliasing analog filters for data acquisition systems. figure 6-3: the mcp601 operational amplifier is used to implement a 2nd order anti-aliasing filter for the signal being converted by the mcp3204. 6.4 layout considerations when laying out a printed circuit board for use with ana- log components, care should be taken to reduce noise wherever possible. a bypass capacitor should always be used with this device and should be placed as close as possible to the device pin. a bypass capacitor value o f 1f is recommended. digital and analog traces should be separated as much as possible on the board and no traces should run underneath the device or the bypass capacitor. extra precautions should be taken to keep traces with high frequency signals (such as clock lines) as far as possi- ble from analog traces. use of an analog ground plane is recommended in order to keep the ground potential the same for all devices on the board. providing v dd connections to devices in a star configuration can also reduce noise by eliminating return current paths and associated errors. see figure 6-4. for more information on layout tips when using a/d converters, refer to an688 lay- out tips for 12-bit a/d converter applications . figure 6-4: v dd traces arranged in a star configuration in order to reduce errors caused by current return paths. filterlab is a trademark of microchip technology inc. in the u.s.a and other countries. all rights reserved. mcp3204 v dd 10 f in- in+ - + v in c 1 c 2 v ref 4.096v reference adi ref198 1f 1f 0.1f tan t . 0.1f mcp601 r 1 r 2 r 3 r 4 v dd connection device 1 device 2 device 3 device 4
mcp3204/3208 ds21298b-page 18 preliminary ? 1999 microchip technology inc. 6.5 u tilizing the digital and analog ground pins the mcp3204/3208 devices provide both digital and analog ground connections to provide another means of noise reduction. as shown in figure 6-5, the analog and digital circuitry is separated internal to the device. this reduces noise from the digital portion of the device being coupled into the analog portion of the device. the two grounds are connected internally through the sub- strate which has a resistance of 5 -10 w . if no ground plane is utilized, then both grounds must be connected to v ss on the board. if a ground plane is available, both digital and analog ground pins should be connected to the analog ground plane. if both an analog and a digital ground plane are available, both the digital and the analog ground pins should be con- nected to the analog ground plane. following these steps will reduce the amount of digital noise from the rest of the board being coupled into the a/d converter. figure 6-5: separation of analog and digital ground pins. v dd digital side -spi interface -shift register -control logic analog side -sample cap -capacitor array -comparator substrate 5 - 10 w analog ground pin digital ground pin
? 1999 microchip technology inc. preliminary ds21298b-page 19 mcp3204/3208 mcp3204 product identification systems to order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. mcp3208 product identification systems to order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. sales and support package: p = pdip (14 lead) sl = soic (150 mil body), 14 lead st = tssop, 14 lead (c grade only) temperature i= C40c to +85c range: performance b = 1 lsb inl (tssop not available in this grade) grade: c = 2 lsb inl device: mcp3204 = 4-channel 12-bit serial a/d converter mcp3204t = 4-channel 12-bit serial a/d converter on tape and reel (soic and tssop packages only) mcp3204 - g t /p package: p = pdip (16 lead) sl = soic (150 mil body), 16 lead temperature i= C40c to +85c range: performance b = 1 lsb inl (tssop not available in this grade) grade: c = 2 lsb inl device: mcp3208 = 8-channel 12-bit serial a/d converter mcp3208t = 8-channel 12-bit serial a/d converter on tape and reel (soic packages only) mcp3208 - g t /p data sheets products supported by a preliminary data sheet may have an errata sheet describing minor operational differences and recom- mended workarounds. to determine if an errata sheet exists for a particular device, please contact one of the following: 1. your local microchip sales office 2. the microchip corporate literature center u.s. fax: (602) 786-7277. after september 1, 1999, (480) 786-7277 3. the microchip worldwide site (www.microchip.com) please specify which device, revision of silicon and data sheet (include literature #) you are using. new customer notification system register on our web site (www.microchip.com/cn) to receive the most current information on our products.
information contained in this publication regarding device applications and the like is intended for suggestion only and may be superseded by updates. no representation or warranty is given and no liability is assumed by microchip technology incorporated with respect to the accuracy or use of such information, or infringement of patents or oth er intellectual property rights arising from such use or otherwise. use of microchip?s products as critical components in life support systems is not authorized except with express written approval by microchip. no licenses are conveyed, implicitly or otherwise, under any intellectual property rights. the microchip logo and name are registered trademarks of microchip technology inc. in the u.s.a. and other countries. all rights reserved. al l other trademarks mentioned herein are the property of their respective companies. ? 1999 microchip technology inc. all rights reserved. ? 1999 microchip technology incorporated. printed in the usa. 11/99 printed on recycled paper. americas corporate office microchip technology inc. 2355 west chandler blvd. chandler, az 85224-6199 tel: 480-786-7200 fax: 480-786-7277 technical support: 480-786-7627 web address: http://www.microchip.com atlanta microchip technology inc. 500 sugar mill road, suite 200b atlanta, ga 30350 tel: 770-640-0034 fax: 770-640-0307 boston microchip technology inc. 5 mount royal avenue marlborough, ma 01752 tel: 508-480-9990 fax: 508-480-8575 chicago microchip technology inc. 333 pierce road, suite 180 itasca, il 60143 tel: 630-285-0071 fax: 630-285-0075 dallas microchip technology inc. 4570 westgrove drive, suite 160 addison, tx 75248 tel: 972-818-7423 fax: 972-818-2924 dayton microchip technology inc. two prestige place, suite 150 miamisburg, oh 45342 tel: 937-291-1654 fax: 937-291-9175 detroit microchip technology inc. tri-atria office building 32255 northwestern highway, suite 190 farmington hills, mi 48334 tel: 248-538-2250 fax: 248-538-2260 los angeles microchip technology inc. 18201 von karman, suite 1090 irvine, ca 92612 tel: 949-263-1888 fax: 949-263-1338 new york microchip technology inc. 150 motor parkway, suite 202 hauppauge, ny 11788 tel: 631-273-5305 fax: 631-273-5335 san jose microchip technology inc. 2107 north first street, suite 590 san jose, ca 95131 tel: 408-436-7950 fax: 408-436-7955 americas (continued) toronto microchip technology inc. 5925 airport road, suite 200 mississauga, ontario l4v 1w1, canada tel: 905-405-6279 fax: 905-405-6253 asia/pacific hong kong microchip asia pacific unit 2101, tower 2 metroplaza 223 hing fong road kwai fong, n.t., hong kong tel: 852-2-401-1200 fax: 852-2-401-3431 beijing microchip technology, beijing unit 915, 6 chaoyangmen bei dajie dong erhuan road, dongcheng district new china hong kong manhattan building beijing 100027 prc tel: 86-10-85282100 fax: 86-10-85282104 india microchip technology inc. india liaison office no. 6, legacy, convent road bangalore 560 025, india tel: 91-80-229-0061 fax: 91-80-229-0062 japan microchip technology intl. inc. benex s-1 6f 3-18-20, shinyokohama kohoku-ku, yokohama-shi kanagawa 222-0033 japan tel: 81-45-471- 6166 fax: 81-45-471-6122 korea microchip technology korea 168-1, youngbo bldg. 3 floor samsung-dong, kangnam-ku seoul, korea tel: 82-2-554-7200 fax: 82-2-558-5934 shanghai microchip technology rm 406 shanghai golden bridge bldg. 2077 yan?an road west, hong qiao district shanghai, prc 200335 tel: 86-21-6275-5700 fax: 86 21-6275-5060 asia/pacific (continued) singapore microchip technology singapore pte ltd. 200 middle road #07-02 prime centre singapore 188980 tel: 65-334-8870 fax: 65-334-8850 taiwan, r.o.c microchip technology taiwan 10f-1c 207 tung hua north road ta i p e i , ta i wa n , ro c tel: 886-2-2717-7175 fax: 886-2-2545-0139 europe united kingdom arizona microchip technology ltd. 505 eskdale road winnersh triangle wokingham berkshire, england rg41 5tu tel: 44 118 921 5858 fax: 44-118 921-5835 denmark microchip technology denmark aps regus business centre lautrup hoj 1-3 ballerup dk-2750 denmark tel: 45 4420 9895 fax: 45 4420 9910 france arizona microchip technology sarl parc d?activite du moulin de massy 43 rue du saule trapu batiment a - ler etage 91300 massy, france tel: 33-1-69-53-63-20 fax: 33-1-69-30-90-79 germany arizona microchip technology gmbh gustav-heinemann-ring 125 d-81739 mnchen, germany tel: 49-89-627-144 0 fax: 49-89-627-144-44 italy arizona microchip technology srl centro direzionale colleoni palazzo taurus 1 v. le colleoni 1 20041 agrate brianza milan, italy tel: 39-039-65791-1 fax: 39-039-6899883 11/15/99 w orldwide s ales and s ervice microchip received qs-9000 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in chandler and tempe, arizona in july 1999. the company?s quality system processes and procedures are qs-9000 compliant for its picmicro ? 8-bit mcus, k ee l oq ? code hopping devices, serial eeproms and microperipheral products. in addition, microchip ? s quality system for the design and manufacture of development systems is iso 9001 certified.


▲Up To Search▲   

 
Price & Availability of MCP3204-BISL

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X